package com.jr.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@Component
@AllArgsConstructor
@NoArgsConstructor
public class Search {
    private String flightDate;
    private String takeCity;
    private String landingCity;

    public String getFlightDate() {
        return flightDate;
    }

    public void setFlightDate(String flightDate) {
        this.flightDate = flightDate;
    }

    public String getTakeCity() {
        return takeCity;
    }

    public void setTakeCity(String takeCity) {
        this.takeCity = takeCity;
    }

    public String getLandingCity() {
        return landingCity;
    }

    public void setLandingCity(String landingCity) {
        this.landingCity = landingCity;
    }
}
